// api.js
import request from '../request';
// 列表
export const getBmsCurve = (params) => {
  return request({
    url: '/vilion/deviceDetail/queryBmsTotalCurve',
    method: 'GET',
    data: params
  });
};

// bms 模块数据

export const getBmsModuleApiData = (params) => {
  return request({
    url: '/vilion/deviceDetail/queryBmsModuleData',
    method: 'GET',
    data: params
  });
};

// bms 模块曲线

export const getBmsModuleCurve = (params) => {
  return request({
    url: '/vilion/deviceDetail/queryBmsModuleCurve',
    method: 'GET',
    data: params
  });
};



// pcs汇总曲线

export const getPcsCurve = (params) => {
  return request({
    url: '/vilion/deviceDetail/queryPcsTotalCurve',
    method: 'GET',
    data: params
  });
};
// pcsmo模块曲线

export const getPcsModuleCurve = (params) => {
  return request({
    url: '/vilion/deviceDetail/queryPcsModuleCurve',
    method: 'GET',
    data: params
  });
};


// pcs 模块数据


export const getPcsModuleData = (params) => {
  return request({
    url: '/vilion/deviceDetail/queryPcsModuleData',
    method: 'GET',
    data: params
  });
};

// mppt模块数据
export const getMpptModuleData = (params) => {
  return request({
    url: '/vilion/deviceDetail/queryMpptModuleData',
    method: 'GET',
    data: params
  });
};
// mppt模块汇总曲线
export const getMpptCurve = (params) => {
  return request({
    url: '/vilion/deviceDetail/queryMpptTotalCurve',
    method: 'GET',
    data: params
  });
};

// mppt模块曲线
export const getMpptModuleCurve = (params) => {
  return request({
    url: '/vilion/deviceDetail/queryMpptModuleCurve',
    method: 'GET',
    data: params
  });
};


// dcdc汇总曲线
export const getDcdcCurve = (params) => {
  return request({
    url: '/vilion/deviceDetail/queryDcdcTotalCurve',
    method: 'GET',
    data: params
  });
};

// dcdc模块数据
export const getDcdcModuleData = (params) => {
  return request({
    url: '/vilion/deviceDetail/queryDcdcModuleData',
    method: 'GET',
    data: params
  });
};

// dcdc模块曲线DCDC
export const getDcdcModuleCurve = (params) => {
  return request({
    url: '/vilion/deviceDetail/queryDcdcModuleCurve',
    method: 'GET',
    data: params
  });
};
